package cn.ljq.service;

import cn.ljq.dao.MarkMapper;
import cn.ljq.entity.Mark;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

public class MarkServiceImpl implements MarkService {

    @Autowired
    MarkMapper markMapper;

    @Override
    public Mark findBySnoCno(Map<String, Object> map) {
        return markMapper.findBySnoCno(map);
    }

    @Override
    public List<Mark> findMyMark(String sno) {
        return findMyMark(sno);
    }

    @Override
    public int updateMark(Mark mark) {
        return markMapper.updateMark(mark);
    }

    @Override
    public int addMark(Mark mark) {
        return markMapper.addMark(mark);
    }

    @Override
    public List<Mark> findByClzCourse(Map<String, Object> map) {
        return markMapper.findByClzCourse(map);
    }
}
